Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tls: fix typo, use clientCertSearchPath for clientcert.pem #940

Merged
merged 1 commit into from
Dec 27, 2022

Conversation

rbbratta
Copy link
Contributor

clientcert.pem is located in /etc/pki/libvirt/clientcert.pem as per
https://www.libvirt.org/tlscerts.html

Fixes

level=error msg="Error: failed to dial libvirt: can't locate resource 'clientcert.pem' in [/home/kni/.pki/libvirt /etc/pki/libvirt/private]: file does not exist"

`clientcert.pem` is located in `/etc/pki/libvirt/clientcert.pem` as per
https://www.libvirt.org/tlscerts.html

Fixes

```go
level=error msg="Error: failed to dial libvirt: can't locate resource 'clientcert.pem' in [/home/kni/.pki/libvirt /etc/pki/libvirt/private]: file does not exist"
```
@dmacvicar dmacvicar merged commit 4c7182d into dmacvicar:main Dec 27, 2022
@dmacvicar
Copy link
Owner

Thanks for the patch @rbbratta

@rbbratta rbbratta deleted the tls-clientCertSearchPath-fix branch December 27, 2022 13:28
shaul75 pushed a commit to shaul75/terraform-provider-libvirt that referenced this pull request Apr 6, 2023
…#940)

`clientcert.pem` is located in `/etc/pki/libvirt/clientcert.pem` as per
https://www.libvirt.org/tlscerts.html

Fixes

```go
level=error msg="Error: failed to dial libvirt: can't locate resource 'clientcert.pem' in [/home/kni/.pki/libvirt /etc/pki/libvirt/private]: file does not exist"
```
dmacvicar pushed a commit to jimnydev/terraform-provider-libvirt that referenced this pull request Sep 28, 2024
…#940)

`clientcert.pem` is located in `/etc/pki/libvirt/clientcert.pem` as per
https://www.libvirt.org/tlscerts.html

Fixes

```go
level=error msg="Error: failed to dial libvirt: can't locate resource 'clientcert.pem' in [/home/kni/.pki/libvirt /etc/pki/libvirt/private]: file does not exist"
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants